Skip to content

fix: parse type assertions #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2025
Merged

fix: parse type assertions #1

merged 1 commit into from
Feb 26, 2025

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Feb 26, 2025

Does so by not parsing as JSX by default (this is a breaking change if you would switch to this parser from acorn-typescript)

Fixes sveltejs/svelte#13179
Fixes TyrealHu/acorn-typescript#58

@dummdidumm dummdidumm merged commit f756e12 into main Feb 26, 2025
2 checks passed
@dummdidumm dummdidumm deleted the type-assertions branch February 26, 2025 14:27
@github-actions github-actions bot mentioned this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The parser confuses TS constrained mixins with JSX "Unexpected token" parse error
1 participant